import { initialCameraPosition } from '@/api/config'

export const homePosition = {
  destination: Cesium.Cartesian3.fromDegrees(
    initialCameraPosition.longitude ?? 104.350834,
    initialCameraPosition.latitude ?? 30.321132,
    initialCameraPosition.height ?? 26000
  ),
  orientation: {
    heading: Cesium.Math.toRadians(0),
    pitch: Cesium.Math.toRadians(-90),
    roll: 0
  },
  duration: 3
}

export const squareKilometer = 'km²'
